using System;
using System.Collections.Generic;
using System.Text;
using GRE.Framework;

namespace GRE.Logics
{
    public class EtymologyWord
    {
        private string _word = string.Empty;
        public string Literal
        {
            get
            {
                return StringHelper.CleanString(_word);
            }
        }
        public EtymologyWord(string word)
        {
            _word = word;
        }
        public EtymologyWord()
        {
            _word = string.Empty;
        }

        private string _meaning = string.Empty;
        public string Meaning
        {
            get
            {
                return StringHelper.CleanString(_meaning);
            }
            set
            {
                _meaning = value;
            }
        }

        public override string ToString()
        {
            return StringHelper.CleanString(_word);
        }
        
        public override int GetHashCode()
        {
            return base.GetHashCode();
        }
    }
}
